package com.fangrui.service;

import com.fangrui.pojo.Emp;
import com.fangrui.pojo.Result;

import java.time.LocalDate;
import java.util.List;

//
// Created by ✎﹏ℳ๓独赏☆独醉 on 2025/4/22 18:19.
//
public interface EmpService {
    long getTotal();

    List<Emp> getAllEmps(Integer pageNum,Integer pageSize);

    List<Emp> getAllEmps(String name, Short gender, LocalDate begin,LocalDate end);

    int deleteEmps(List<Integer> arr);

    int addEmp(Emp emp);

    Emp getEmpById(Integer id);

    int updateEmp(Emp emp);

    Emp login(Emp emp);
}
